from django.urls import path, include
from ios_api import views

# todo 路由统一使用下划线命名法 类名统一使用大驼峰命名法

urlpatterns = [
    path('get_all_staff_api', views.GetAllStaffApi.as_view()),
    path('get_user_info_api', views.GetUserInfoApi.as_view()),
    path('get_all_company_api', views.GetAllCompanyApi.as_view()),
    path('process_management', views.ProcessManagement.as_view()),
    path('write_user_info_api', views.WriteUserInfoApi.as_view()),
    path('topics_data_api', views.TopicsDataApi.as_view()),
    path('attendance_information_api', views.AttendanceInformationApi.as_view()),           # 我的考勤
    path('my_salary_api', views.MySalaryApi.as_view()),                     # 我的工资
    path('my_performance_api', views.MyPerformanceApi.as_view()),           # 我的绩效
    path('scan_code_api', views.ScanCodeApi.as_view()),                     # 扫码

    # 车辆相关路由
    path('vehicle_apply_detail_api', views.VehicleApplyDetailApi.as_view()),
    # 议题相关路由
    path('topics_detail_view_api', views.TopicsDetailViewApi.as_view()),

    # 站内通信相关路由
    path('inbox_api', views.SentApi.as_view()),
    path('send_inbox_api', views.SendInboxApi.as_view()),
    path('drafts_api', views.DraftsApi.as_view()),

    # 通知公告相关路由
    path('notice_index_api', views.NoticeIndexApi.as_view()),
    path('notice_detail_api', views.NoticeDetailApi.as_view()),

    # 公文相关接口
    path('conference_memo_detail_view_api', views.ConferenceMemoDetailViewApi.as_view()),
    path('ConferenceMemoReceive', views.ConferenceMemoReceive.as_view()),

    # 上级来文相关接口
    path('official_documents_detail_view_api', views.OfficialDocumentsDetailViewApi.as_view()),
    path('revoke_approval_view_api', views.RevokeApprovalViewApi.as_view()),
    path('superiors_approval_view_api', views.SuperiorsApprovalViewApi.as_view()),
    path('OfficialDocumentsReceive', views.OfficialDocumentsReceive.as_view()),                 # 上级来文分发
    path('external_correspondence_detail_view_api', views.ExternalCorrespondenceDetailViewApi.as_view()),     # 外部来函详情
    path('external_correspondence_approve_view_api', views.ExternalCorrespondenceApproveViewApi.as_view()),  # 外部来函审批
    path('ExternalCorrespondenceReceive', views.ExternalCorrespondenceReceive.as_view()),       # 外部来函分发

    # 会议接口
    path('room_reservation_api', views.RoomReservationApi.as_view()),
    path('meeting_preview_api', views.MeetingPreviewApi.as_view()),
    path('meeting_approval_api', views.MeetingApprovalApi.as_view()),
    path('room_detail_api', views.RoomDetailApi.as_view()),

    # 用印申请
    path('seal_making_detail_view_api', views.SealMakingDetailViewApi.as_view()),
    path('application_seal_use_api', views.ApplicationSealUseApi.as_view()),
    path('quick_authorization_api', views.QuickAuthorizationApi.as_view()),


    # 医德医风
    path('medical_ethics_detail', views.MedicalEthicsDetailViewApi.as_view()),             # 详情
    path('medical_ethics_overview', views.MedicalEthicsOverviewViewApi.as_view()),             # 总览
    path('medical_ethics_publicity', views.MedicalEthicsPublicityViewApi.as_view()),  # 公示
    path('department_review_submission', views.DepartmentReviewSubmission.as_view()),       # 科室审核提交
    path('department_summary', views.DepartmentSummary.as_view()),                      # 科室考核汇总
    path('FallLevelView', views.FallLevelView.as_view()),                                               # 考核小组降级操作
    path('BatchApproval', views.BatchApproval.as_view()),                                               # 考核小组批量同意

    # 付款审批
    path('contract_payment_api', views.ContractPaymentApi.as_view()),          # 合同付款
    path('fixed_assets_api', views.FixedAssetsApi.as_view()),  # 固定资产/维修维保付款
    path('material_payment_api', views.MaterialPaymentApi.as_view()),  # 材料/药品付款申请
    path('meal_supplement_payment_api', views.MealSupplementPaymentApi.as_view()),  # 餐补付款
    path('subject_funding_approval_api', views.SubjectFundingApprovalApi.as_view()),  # 学科经费付款
    path('research_funding_approval_api', views.ResearchFundingApprovalApi.as_view()),  # 科研经费付款
    path('trade_union_outlays_api', views.TradeUnionOutlaysApi.as_view()),  # 工会经费付款
    path('general_payment_api', views.GeneralPaymentApi.as_view()),  # 一般付款付款
    path('newspaper_payment_api', views.NewspaperPaymentApi.as_view()),  # 图书/报刊/杂志征订
    path('travel_application_api', views.TravelApplicationApi.as_view()),  # 差旅申请
    path('travel_reimbursement_api', views.TravelReimbursementApi.as_view()),  # 差旅报销
    path('middle_level_out_api', views.MiddleLevelOutApi.as_view()),  # 中层干部外出
    path('ask_leave_api', views.AskLeaveApi.as_view()),  # 请假申请
    path('contract_countersigning_api', views.ContractCountersigningApi.as_view()),  # 合同会签
    path('medical_service_api', views.MedicalServiceApi.as_view()),  # 新增医疗服务项目
    path('surgical_grading_api', views.SurgicalGradingApi.as_view()),  # 手术分级分权
    path('physician_practice_api', views.PhysicianPracticeApi.as_view()),  #  临床医师单独执业资格
    path('party_government_api', views.PartyGovernmentApi.as_view()),  # 党建经费
    path('project_summit_api', views.ProjectSummitApi.as_view()),  # 项目送审
    path('payment_approval_api', views.PaymentApprovalApi.as_view()),  # 付款审批新流程
    path('contract_countersign_api', views.ContractCountersignApi.as_view()),  # 经济合同会签新流程

    # 我的收文
    path('my_receipt_api', views.MyReceiptApi.as_view()),  # 我的收文

    # 系统排班
    path('system_scheduling_api', views.SystemSchedulingApi.as_view()),  # 我的收文

    # 聊天
    path('address_book_api', views.AddressBookApi.as_view()),  # 通讯录
    path('query_records_api', views.QueryRecordsApi.as_view()),  # 聊天记录

    # 后勤管理
    path('service_procurement_api', views.ServiceProcurementApi.as_view()),  # 服务采购
    path('service_procurement_approval_api', views.ServiceProcurementApprovalApi.as_view()),  # 服务采购审批
    path('procurement_goods_view_api', views.ProcurementGoodsViewApi.as_view()),             # 货物采购
    path('goods_procurement_approval_api', views.GoodsProcurementApprovalApi.as_view()),            # 货物采购审批
    path('maintenance_renovation_view_api', views.MaintenanceRenovationViewApi.as_view()),  # 维修改造
    path('maintenance_renovation_approval_api', views.MaintenanceRenovationApprovalApi.as_view()),  # 维修改造审批
    path('purchase_view_api', views.PurchaseViewApi.as_view()),  # 计算机及相关设备购置
    path('purchase_approval_api', views.PurchaseApprovalApi.as_view()),  # 计算机及相关设备购置审批
    path('bidding_project_api', views.BiddingProjectApi.as_view()),                # 招标采购项目详情
    path('bidding_project_approval_api', views.BiddingProjectApprovalApi.as_view()),  # 招标采购项目审批

    path('GetJsCode', views.GetJsCode.as_view())                    # 获取微信小程序用户IpenId
]